package com.jay.lang.reflect.clazz;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

public class ModifierCls {
	final private transient int i = 0;

	public static void main(String[] args) throws NoSuchFieldException,
			SecurityException {
		Field f = ModifierCls.class.getDeclaredField("i");
		int m = f.getModifiers();
		System.out.println(Modifier.isFinal(m));
		System.out.println(Modifier.isPrivate(m));
		System.out.println(Modifier.isStatic(m));
		System.out.println(Modifier.isTransient(m));
		System.out.println(Modifier.isAbstract(m));
		System.out.println(Modifier.isInterface(m));
		System.out.println(Modifier.isNative(m));
		System.out.println(Modifier.isProtected(m));
		System.out.println(Modifier.isPublic(m));
		System.out.println(Modifier.isStatic(m));
		System.out.println(Modifier.isStrict(m));
		System.out.println(Modifier.isSynchronized(m));
		System.out.println(Modifier.isVolatile(m));
	}
}
